package com.hospital.schedule.module.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hospital.common.pojo.TUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author author
 * @since 2025-09-17
 */
public interface TUserMapper extends BaseMapper<TUser> {

    List<TUser> findDoctorId(@Param("doctorIdList") List<Long> doctorIdList);

    String getDoctorNameById(Long doctorId);


    List<TUser> findAllDoctor(List<Long> doctorInfoIdList);

    Long findDoctorDepartmentByUserId(Long doctorId);

    List<TUser> findDoctorByDepartmentId(Long departmentId);

    String findDoctorNameById(Long doctorId);
}
